package com.mtnz.njk.entity;

import com.mtnz.njk.model.BuyGiveModel;
import com.mtnz.njk.model.ShareBillBuyGiveModel;
import com.mtnz.njk.model.TradActiveModel;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;
import java.io.Serializable;

/**
 * @Description: 商品规格实体类
 * @Author: ZPX
 * @CreateDate: 2019\7\9 11:22
 * @Version: 1.0
 */
@Data
@Table(name = "product_remark")
public class ProductRemarkEntity implements Serializable {
    private static final long serialVersionUID = 7482998460964388485L;
    @Id
    @Column(name = "remark_id")
    private String remarkId;
    private String remark;
    @Column(name = "product_id")
    private String productId;
    private String sort;
    private String price;
    @Column(name = "min_num")
    private String minNum;
    private String img;
    @Column(name = "product_explain")
    private String productExplain;
    private String postage;
    @Column(name = "plant_price")
    private String plantPrice;
    @Column(name = "card_img")
    private String cardImg;
    private String inventory;
    @Column(name = "max_num")
    private String maxNum;
    @Column(name = "threshold_id")
    private Integer thresholdId;
    @Column(name = "combo_img")
    private String comboImg;
    @Column(name = "share_bill")
    private Integer shareBill;
    @Column(name = "share_bill_remark_id")
    private String shareBillRemarkId;


    @Transient
    private String productName;
    // 是否有换购商品标识
    @Transient
    private Integer productStatus;

    @Transient
    private Integer cartProductId;

    @Transient
    private ProductActiveThresholdEntity productActiveThresholdEntity;

    // 购物车中该商品规格的数量
    @Transient
    private Integer cartBuyNum;

    @Transient
    private Integer activeId;


    // 购物车商品选中状态
    @Transient
    private Integer selectFlag;

    // 商品赠送的代金券信息（不拼单）
    @Transient
    private CouponTypeEntity couponEntity;

    // 商品赠送的代金券信息 （拼单）
    @Transient
    private CouponTypeEntity shareBillCouponEntity;

    // 商品赠送商品规格信息
    @Transient
    private ProductActiveGiveEntity giveEntity;


    @Transient
    private ShareBillBuyGiveModel shareBillBuyGiveModel;

    @Transient
    private BuyGiveModel buyGiveModel;

    @Transient
    private TradActiveModel tradActiveModel;


}
